package com.demo.starter.repository;

import com.demo.starter.entity.EstNewsCrawlPlan;
import com.demo.starter.entity.EstNewsCrawlPlanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface EstNewsCrawlPlanMapper {
    long countByExample(EstNewsCrawlPlanExample example);

    int deleteByExample(EstNewsCrawlPlanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EstNewsCrawlPlan record);

    int insertSelective(EstNewsCrawlPlan record);

    List<EstNewsCrawlPlan> selectByExample(EstNewsCrawlPlanExample example);

    EstNewsCrawlPlan selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EstNewsCrawlPlan record, @Param("example") EstNewsCrawlPlanExample example);

    int updateByExample(@Param("record") EstNewsCrawlPlan record, @Param("example") EstNewsCrawlPlanExample example);

    int updateByPrimaryKeySelective(EstNewsCrawlPlan record);

    int updateByPrimaryKey(EstNewsCrawlPlan record);
}